﻿@model Proggy.Web.Cms.ViewModels.SiteMapViewModel
@{
    // add js
    Html.AddToBackEndContent("~/Areas/Proggy/Content/Scripts/Proggy.SiteMap.js", BackEndContentType.JavaScript);
    Html.RenderBackEndContentForLightboxPartial();    
}
<div id="@(Model.AreaId)" class="proggy-sm">
    @if (Model.IncludeContentMenu)
    {
        <div class="treeMenus">
        </div>
    }
    <div class="proggy-sm-ulcontainer">
        <div class="proggy-sm-ulcontainer-inner">
            <ul class="contentTreeUl">
                @{
                    //Html.RenderPartial("_SiteMapItem", Model);    
                    Model.RenderSiteMap(this.Output,this.Html);
                }
            </ul>
        </div>
    </div>
</div>
